package cn.edu.scau.cmi.ema.dao;

import java.util.Set;

import org.springframework.dao.DataAccessException;
import cn.edu.scau.cmi.ema.domain.*;
import cn.edu.scau.cmi.ema.domain.base.CmiPagination;

public interface EventqualitytypeDAO extends JpaDao<Eventqualitytype> {

	public Eventqualitytype findEventqualitytypeById(Integer id) throws DataAccessException;

	public Eventqualitytype findEventqualitytypeById(Integer id, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Eventqualitytype> findEventqualitytypeByName(String name) throws DataAccessException;

	public Set<Eventqualitytype> findEventqualitytypeByName(String name, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Eventqualitytype> findEventqualitytypeByNameContaining(String name_1) throws DataAccessException;

	public Set<Eventqualitytype> findEventqualitytypeByNameContaining(String name_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Eventqualitytype> findEventqualitytypeByDegree(String degree) throws DataAccessException;

	public Set<Eventqualitytype> findEventqualitytypeByDegree(String degree, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Eventqualitytype> findEventqualitytypeByDegreeContaining(String degree_1) throws DataAccessException;

	public Set<Eventqualitytype> findEventqualitytypeByDegreeContaining(String degree_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Eventqualitytype> findEventqualitytypeByDescription(String description) throws DataAccessException;

	public Set<Eventqualitytype> findEventqualitytypeByDescription(String description, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Eventqualitytype> findEventqualitytypeByDescriptionContaining(String description_1)
			throws DataAccessException;

	public Set<Eventqualitytype> findEventqualitytypeByDescriptionContaining(String description_1, int startResult,
			int maxRows) throws DataAccessException;

	public Eventqualitytype findEventqualitytypeByPrimaryKey(Integer id) throws DataAccessException;

	public Eventqualitytype findEventqualitytypeByPrimaryKey(Integer id, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Eventqualitytype> findEventqualitytypesByIds(Set<Integer> ids) throws DataAccessException;

	public Set<Eventqualitytype> findAllEventqualitytypes() throws DataAccessException;

	public Set<Eventqualitytype> findAllEventqualitytypes(int startResult, int maxRows) throws DataAccessException;

	public Set<Eventqualitytype> findEventqualitytypesByEvent(Integer eventId, int start, int max);

	public Set<Eventqualitytype> findEventqualitytypesByQualitytype(Integer qualitytypeId, int start, int max);

	public Set<Eventqualitytype> findEventqualitytypeByCompositeProperities(String sql, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Eventqualitytype> findEventqualitytypesByDetachedCriteria(CmiPagination page) throws DataAccessException;

	public Eventqualitytype findEventqualitytypeByPhysicalPrimaryKey(Integer eventId, Integer qualitytypeId,
			String degree) throws DataAccessException;

	public Eventqualitytype findEventqualitytypeByPhysicalPrimaryKey(Integer eventId, Integer qualitytypeId,
			String degree, int startResult, int maxRows) throws DataAccessException;
}
